package com.pajk.user.service.common.tair;

/**
 * @author Haomin Liu
 */
public enum TairNamespaceEnum {
    MOBILE_REVINDEX(0), // mobile -> user_id mapping
    PROFILEID_REVINDEX(1), // profile_id -> user_id mapping
    WEIXINOPENID_REVINDEX(2), // weixin_openid -> user_id mapping
    FOLLOWEE_REVINDEX(3), // followee_id -> List<follower_id> mapping
    CREDITRULE(4),
    SMSINFO_INDEX(5),//mobile -> SmsInfo mapping
    WANLI_REVINDEX(6),//wanliId -> user_id mapping
    INVITE_REVINDEX(7);//inviterUserId -> inviteList & inviteeMobileToInviteInfo mapping
    private int spaceNum;

    TairNamespaceEnum(int spaceNum) {
        this.spaceNum = spaceNum;
    }

    public int getSpaceNum() {
        return spaceNum;
    }
}
